home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
System Booster
/
System Booster.iso
/
Archives
/
ForCLI
/
0Utils13.lha
/
0Utils
/
Exists.doc
< prev
next >
Wrap
Text File
|
1995-03-20
|
718b
|
48 lines
NAME
Exists
SYNOPSIS
Exists -determine, if a file exists - Requires v37
INPUTS
FILE/A,NAME/S
FUNCTION
Exists gets a filename and outputs if it exists.
The resulting string is sent to STDOUT.
RESULT
if NAME is set the filename if the file exists,
or empty string if not else 1/0
NOTES
CLI - only
should compile with SAS-C
BUGS
We use 'Lock' to check the file, so an exclusively
locked file is not recognized.
We currently do not set ERROR_FILE_NOT_FOUND if
Exists does not find a file
EXAMPLES
>Exists Sys:
1
>Exists c:copy NAME
c:copy
>Exists jabba:the:hutt
0
AUTHOR
Bernd Noll, Brunnenstrasse 55, D-67661 Kaiserslautern
noll@student.uni-kl.de